titleWidth
Type
property
Summary
Specifies the amount of a button's width used to display the button's name or label property to the left of the button.
Syntax
set the titleWidth of <button> to <pixels>
Description
Use the titleWidth property to create popup menus with a title.
The titleWidth is taken from the total width of the button. This means that setting a titleWidth makes the button narrower, and you may have to increase the width property to accommodate both title and button.
Examples
set the titleWidth of button "Options" to 90
set the titleWidth of button "Standard" to 0
Related
glossary: property, non-negative, popup menu
object: button
property: label, menuMode, name, width
Compatibility and Support
Introduced
LiveCode 1.0
OS
mac
windows
linux
Platforms
desktop
server